﻿Public Class PlanTestEntity
    Inherits EntityBase

    Private _proyecto As ProyectoEntity
    Public Property Proyecto() As ProyectoEntity
        Get
            Return _proyecto
        End Get
        Set(ByVal value As ProyectoEntity)
            _proyecto = value
        End Set
    End Property

    Private _fechaCreacion As Date
    Public Property FechaCreacion() As Date
        Get
            Return _fechaCreacion
        End Get
        Set(ByVal value As Date)
            _fechaCreacion = value
        End Set
    End Property

    Private _fechaFinEstimada As Date
    Public Property FechaFinEstimada() As Date
        Get
            Return _fechaFinEstimada
        End Get
        Set(ByVal value As Date)
            _fechaFinEstimada = value
        End Set
    End Property

    Private _fechaFinReal As Date
    Public Property FechaFinReal() As Date
        Get
            Return _fechaFinReal
        End Get
        Set(ByVal value As Date)
            _fechaFinReal = value
        End Set
    End Property

    Private _descripcion As String
    Public Property Descripcion() As String
        Get
            Return _descripcion
        End Get
        Set(ByVal value As String)
            _descripcion = value
        End Set
    End Property

    Private _autor As UsuarioEntity
    Public Property Autor() As UsuarioEntity
        Get
            Return _autor
        End Get
        Set(ByVal value As UsuarioEntity)
            _autor = value
        End Set
    End Property

    Private _estado As EstadoEntity
    Public Property Estado() As EstadoEntity
        Get
            Return _estado
        End Get
        Set(ByVal value As EstadoEntity)
            _estado = value
        End Set
    End Property

    Private _suites As List(Of SuiteEntity)
    Public Property Suites() As List(Of SuiteEntity)
        Get
            Return _suites
        End Get
        Set(ByVal value As List(Of SuiteEntity))
            _suites = value
        End Set
    End Property

    Public Overrides Function ToString() As String
        Return Me.Id + Me.Proyecto.Nombre
    End Function
End Class
